/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/06/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfprojectsurvey.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.manager.IBaseBean;

/**
 * 
 * Description:YfProjectSurvey实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/06/2012
 * 
 */
@Entity
@Table(name = "yf_project_survey")
public class YfProjectSurvey implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProjectSurvey() {

	}

	@Id
	@Column(name = "id")
	private String id;  

	@Column(name = "document_name")
	private String documentName;  

	@Column(name = "project_no")
	private String projectNo;  

	@Column(name = "document_type")
	private String documentType;  

	@Column(name = "operateid",updatable=false)
	private String operateid;  

	@Column(name = "create_date")
	private Date createDate;  
    
	@Transient
	private String projectName;
	
	@Transient
	private String projectOrg;
	
	@Transient
	private String projectOrgName;
	
	@Transient
	private String rname;


	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the DocumentName.
	 */
	public String getDocumentName() {
		return this.documentName;
	}

	/**
	 * @param documentName
	 *            Set the documentName.
	 */
	public void setDocumentName(String documentName) {
		this.documentName = documentName;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProjectNo.
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the DocumentType.
	 */
	public String getDocumentType() {
		return this.documentType;
	}

	/**
	 * @param documentType
	 *            Set the documentType.
	 */
	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	
	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getProjectOrg() {
		return projectOrg;
	}

	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getProjectOrgName() {
		return projectOrgName;
	}

	public void setProjectOrgName(String projectOrgName) {
		this.projectOrgName = projectOrgName;
	}
}
